package com.zheok.testing;

import lombok.Data;

public class ExceptionConcat {

    public enum errorMsg{
        PERSONNEL(1,"人员异常管理（冻结人员入场）"),
        INFORMATION(2,"基本信息录入异常管理（进港号无效）"),
        ANTIEPIDEMIC(3,"防疫信息异常管理（自测体温、三否有是）"),
        TRAVELCARD(3,"行程卡信息异常管理（行程卡黄色、红色、人员信息匹配无效）"),
        FORGE(5,"行程卡伪造异常管理（行程卡图片作假）"),
        ADMISSION(6,"入场异常管理（针对无有效通行码、发烧）")
        ;
         errorMsg(Integer code,String message){
             this.code=code;
             this.message=message;
        }
        //异常值
        private Integer code;
        /**
         * 异常消息
         */
        private String message;

        public Integer getCode() {
            return code;
        }

        public void setCode(Integer code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }


}
